package com.ee.chat.common.serconfig;

import com.ndhutu.ee.util.push.jg.PushConfig;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author Shane
 * @Date 2019/10/22 23:05
 */
@Component
public class MyPushConfig implements PushConfig {
    @Value("${jg.appKey}")
    private String appKey;
    @Value("${jg.masterSecret}")
    private String masterSecret;

    @Override
    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    @Override
    public String getMasterSecret() {
        return masterSecret;
    }

    public void setMasterSecret(String masterSecret) {
        this.masterSecret = masterSecret;
    }
}
